<?php

require 'searchURL.php';
require '../php-sdk/src/facebook.php';

$facebook = new Facebook(array(
	'appId'  => '176213615761250',
	'secret' => '375110a154f2a4f5b2f6e4f8f093f7be',
));

$user = $facebook->getUser();
echo $user;

$result = searchURL($user, "youtube");

echo "<br>results<br>";
print_r($result);

?> 
